[HVM][DM] Backport the USB support from QEMU 0.8.1 to the current Xen
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 12 Jun 2006 08:06:55 +0000 (09:06 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 12 Jun 2006 08:06:55 +0000 (09:06 +0100)
commitcd9d70925caf9d1c2bd1be59606c32ad1713e345
tree7e5e5c142bfacaf386562c60bc248549bce058ea
parentfb674fd949544b23ba2bdb26225dbf26900c6e02
[HVM][DM] Backport the USB support from QEMU 0.8.1 to the current Xen
device model. To support USB there are two new optional config lines
that can be added to the guest config file:

    usb=1
        This will enable USB without defining a specific USB device.
        This option is assumed and not needed if the `usbdevice' option
        is given.

    usbdevice='device'
        This will enable USB and also enable support for the given device.
        Currently, the only two devices are `mouse' (a PS/2 mouse) and
        `tablet' (an absolute pointing device).  The advantage of `tablet'
        is that Windows guests will automatically recognize and support this
        device so specifying the config line:

                usbdevice='tablet'

        will create a mouse that works transparently with Windows guests
        under VNC.  (Linux doesn't recognize the USB tablet yet so Linux
        guests under VNC will still need the Summagraphics emulation.)

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
16 files changed:
tools/ioemu/hw/pc.c
tools/ioemu/hw/pckbd.c
tools/ioemu/hw/usb-hid.c [new file with mode: 0644]
tools/ioemu/hw/usb-hub.c [new file with mode: 0644]
tools/ioemu/hw/usb-uhci.c [new file with mode: 0644]
tools/ioemu/hw/usb.c [new file with mode: 0644]
tools/ioemu/hw/usb.h [new file with mode: 0644]
tools/ioemu/monitor.c
tools/ioemu/sdl.c
tools/ioemu/target-i386-dm/Makefile
tools/ioemu/usb-linux.c [new file with mode: 0644]
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/ioemu/vnc.c
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py